package cn.tedu.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Item{
 private Integer id;
 private String name;
 private Integer number;

 public static void main(String[] args){
  Item a=new Item(5,"a",12);
  a.setName("b");
  System.out.println(a.getName());
 }

}
